//ku9JS交流群424765458


function main(item) {
    let url = item["url"];
    let id = ku9.getQuery( url,  "id" );
    const jsonUrl = "https://app.hfbtc.cn/shows/2/" + id + ".html";
    const headers = {};
    let playData = ku9.get(jsonUrl, JSON.stringify(headers));
    let regex = /<source src="(https:\/\/.+?)"/;
    let match = playData["match"](regex);
    let finalUrl = match[1];
    return JSON["stringify"]({
        url: finalUrl
    })
}